package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Discuss;
import cn.wolfcode.trip.base.domain.User;
import cn.wolfcode.trip.base.query.DiscussQuery;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IDiscussService {

    void deleteByPrimaryKey(Long id);

    void insert(Discuss discuss);

    Discuss selectByPrimaryKey(Long id);

    List<Discuss> selectAll();

    PageInfo query(DiscussQuery qo);
}
